import Vue from 'vue'
import Router from 'vue-router'

import MainView from '../views/MainView'

const routes = [
    {
        path: '/',
        component: MainView,
    },
    {
        path: '*',
        redirect: '/'
    }
];

Vue.use(Router);

export default new Router({
    routes
});
